import { ElMessage } from 'element-plus'

const Message = {
  success: (text) => {
    ElMessage.success({
      message: text,
    })
  },
  error: (text) => {
    ElMessage.error({
      message: text,
    })
  },
}
export default Message
